package cn.myblog.ainblog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Dovaior
 * @Description 标签(tag)的实体类
 * @create 2021-03-30 08:59
 **/
@Data
@TableName("ain_tags")
public class TagModel {
    /**
     * tag的id
     */
    @TableId(value = "tag_id",type = IdType.ASSIGN_UUID)
    private String tagId;
    /**
     * tag的名称
     */
    @TableField("tag_name")
    private String tagName;
    /**
     * tag的描述
     */
    @TableField("tag_description")
    private String tagDescription;
}
